Hi!
I (presumably) found a bug in the recent math changes of the latest
upload. If a cell of the startalign environment is empty, something
internally to the macro seems to be breaking.
Minimal example:
\starttext
\startformula
\startalign
\NC \NC a \NR
\NC b \NC c \NR
\stopalign
s ConTeXt
> version 2016.05.17 19:20 MKIV current.
>
> Some time ago I reported an analogous issue with startalign, and it seemed to
> me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56.
>
> Best regards: OK
>
>> On 17 Aug 2016, at 14:20, Mikael
with startalign, and it seemed to
me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56.
Best regards: OK
> On 17 Aug 2016, at 14:20, Mikael P. Sundqvist <mic...@gmail.com> wrote:
>
> Hi,
>
> The test file
>
> \starttext
> \placeformula
> \startfor
Hi,
The test file
\starttext
\placeformula
\startformula
\startalign
\NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR
\NC \NC =\exp(\ln x_1+\ln x_2)=\exp(t_1+t_2).\NR[eq:explag1]
\stopalign
\stopformula
\placeformula
\startformula
1+1=2
\stopformula
\stoptext
gives the attached pdf
Hello, I hope I'm doing this right.
I discovered a bug where the spacing between rows becomes too large in a
mathmatrix when used in between \startalign and \stopalign.
I posted on StackExchange and was told to report it here:
http://tex.stackexchange.com/questions/130636/context-wrong
On 8/30/2013 12:16 AM, Andreas Halkjær wrote:
Hello, I hope I'm doing this right.
I discovered a bug where the spacing between rows becomes too large in a
mathmatrix when used in between \startalign and \stopalign.
I posted on StackExchange and was told to report it here:
http
Dear all,
I have noticed a new problem in the \startalign environment recently.
\startalign adds whitespace after the formula. If I remove the *\NR* from the
last equation then the white space disappears. But I need to keep it for
numbering the last equation.
In any case, I thought
On 4/8/2013 1:21 PM, Devendra Ghate wrote:
Dear all,
I have noticed a new problem in the \startalign environment recently.
\startalign adds whitespace after the formula. If I remove the *\NR* from the
last equation then the white space disappears. But I need to keep it for
numbering the last
On Mon, Apr 08, 2013 at 05:49:51PM +0200, Hans Hagen wrote:
On 4/8/2013 1:21 PM, Devendra Ghate wrote:
Dear all,
I have noticed a new problem in the \startalign environment recently.
\startalign adds whitespace after the formula. If I remove the *\NR* from the
last equation then the white
I would like to make a row of a \startalign ... \stopalign hidden. The
following fails.
\starttext
\definelayer[hiddenlayer][state=stop]
\startformula
\startalign[n=3,align={right,middle,left}]
\NC a \NC = \NC b \NR
\setlayer[hiddenlayer]{\NC a + c \NC
On Wed, 6 Feb 2013, Troy Henderson wrote:
I would like to make a row of a \startalign ... \stopalign hidden. The
following fails.
\starttext
\definelayer[hiddenlayer][state=stop]
\startformula
\startalign[n=3,align={right,middle,left}]
\NC a \NC = \NC b \NR
Aditya,
Thanks for your steps.tex. The following example does not work as
expected. In particular, the first equation moves from page 1 to page 2,
and the 12 x moves from page 2 to page 3.
Troy
\StartStepping{10}
\startformula
\startalign[n=4,align={right,right,middle
Aditya,
Can you confirm this phenomenon?
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
\startalign[n=4,align={right,right,middle,left}]
\STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
\frac{1}{6}x+\frac{21}{4} \NR}
\STEP{2}{\NC 12\times\NC \NC \NC \NR}
\STEP{3}{\NC \NC \left(12\cdot\frac{2}{3}x\right) -
\left(12\cdot\frac{3}{4}\right
\StartStepping{10}
\startformula
\startalign[n=4,align={right,right,middle,left}]
\STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
\frac{1}{6}x+\frac{21}{4} \NR}
\STEP{2}{\NC 12\times\NC \NC \NC \NR}
\STEP{3}{\NC \NC \left(12\cdot\frac{2}{3
For display equations, the following will also work (but it is very tedius
to type)
Good workaround.
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Any idea how to put a \framed{ ... } around
\NC \NC x \NC = \NC 12
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On Wed, 6 Feb 2013, Troy Henderson wrote:
Any idea how to put a \framed{ ... } around
\NC \NC x \NC = \NC 12
AFAIK, you can't. It's on my TODO list but requires a complete rewrite of
math align macros. If you really need it:
\startsetups table:math
\setupTABLE[frame=off, toffset=0.2ex,
Dear Aditya,
Using \framed[]{}, I got a good output.
As you said, it might be better to define a macro for it.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an
Dear all,
In the following sample file, an error occurs in \startformula\startalign ...
\stopalign\stopformula.
The similar error occurs if I use \startformula\startmathcases.
but \startmatrix works well.
Did I do something wrong?
Thank you for reading.
Best regards,
Dalyoung
On 2012-07-22, at 8:21 AM, dalyoung hak...@me.com wrote:
Dear all,
In the following sample file, an error occurs in \startformula\startalign ...
\stopalign\stopformula.
The similar error occurs if I use \startformula\startmathcases.
but \startmatrix works well.
Did I do something
Dear Aditya,
\startformula must occur inside a vbox. So, use a matrix environment as you
are doing, or wrap the formula inside a \framed[align=normal].
Thank you for your solution.
\framed[frame=off,align=normal]{\startformula\startalign ...
\stopalign\stopformula}
is working.
I have
A \VL B \VL C \VL D \NC\SR
\HL
\NC $y$ \VL {\framed[frame=off, align=normal]{\startformula\startalign
\NC x' = \NC \NR
\NC y' = \NC \NR
\stopalign\stopformula}} \VL \VL \NC\LR
\HL
\stoptable
\stoptext
Both of them are good for compiling, but need a slight touch.
Use the \frame aligning options
On Tue, Jul 17, 2012 at 09:48:31PM -0400, Matthias Weber wrote:
It was never a problem in TeX to modify the control characters used
according to your own pleasure.
Except that is not the kind of thing ConTeXt users are supposed to mess
with, I feel guilty every time I mess with catcodes in my
:
\let\oldstartalign=\startalign
\let\oldstopalign=\stopalign
\let\oldbs=\\
\def\startalign{\catcode`=4\let\\=\cr\oldstartalign}
\def\stopalign{\oldstopalign\catcode`=12\let\\=\oldbs}
\starttext
This \ that the other thing:
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2
\starttext
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2 \\
\stopalign \stopformula
\stoptext
ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english
(...)
! Missing $ inserted.
system tex error on line 3 in file test.tex: Missing $ inserted
On 18-7-2012 00:22, Matthias Weber wrote:
\starttext
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2 \\
\stopalign \stopformula
\stoptext
ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english
(...)
! Missing $ inserted.
system tex error
Thanks - I wasn't aware that the human readable version had been deprecated :(
Matthias
On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
On 18-7-2012 00:22, Matthias Weber wrote:
\starttext
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2 \\
\stopalign
On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
On 18-7-2012 00:22, Matthias Weber wrote:
\starttext
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2 \\
\stopalign \stopformula
\stoptext
ConTeXt ver: 2012.07.17 16:42 MKIV fmt
had been deprecated
:(
Matthias
On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
On 18-7-2012 00:22, Matthias Weber wrote:
\starttext
\startformula \startalign
v = u + at \\
h = ut + \frac12 gt^2 \\
\stopalign \stopformula
\stoptext
ConTeXt ver: 2012.07.17
Here's a backward-compatibility hack that works on your minimal example. Maybe
it will save the dozens of files without changing all the s:
\let\oldstartalign=\startalign
\let\oldstopalign=\stopalign
\let\oldbs=\\
\def\startalign{\catcode`=4\let\\=\cr\oldstartalign}
\def\stopalign{\oldstopalign
Hi,
The latest checkout has a problem with even the most trivial example of
\startalign (taken from the wiki):
\starttext
\startformula \startalign
\NC v \NC = u + at \NR
\NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext
% context --version
mtx-context | ConTeXt
Am 04.07.2012 um 18:24 schrieb Prashanth:
Hi,
The latest checkout has a problem with even the most trivial example of
\startalign (taken from the wiki):
\starttext
\startformula \startalign
\NC v \NC = u + at \NR
\NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext
Thank you Luigi.
I haven't tried your solution yet, as I was abroad the previous days.
I hope I will try later.
Bye.
Arrigo
___
If your question is of interest to others as well, please add an entry to the
Wiki!
On Mon, May 14, 2012 at 12:02 PM, elgo...@libero.it elgo...@libero.it wrote:
Yes it works.
The only problem is that now I have the formulas aligned at the center of the
page.
Which command can I use to align the formulas on the left?
\setupformulas[alternative=default,margin=-6em]
(with
2012/5/14 elgo...@libero.it elgo...@libero.it:
Sorry for having given you a non working example!
Here you can find a working one. The comments at the end of each line are in
italian.
Changing the height of the frame you can move the \startalign content in the
page.
As you will see, the whole
Yes it works.
The only problem is that now I have the formulas aligned at the center of the
page.
Which command can I use to align the formulas on the left?
___
If your question is of interest to others as well,
\sbc{} is a command defined by me.
\define[1]\sbc{\ctxlua{context(\%.2f, #1)}}%
I'm writing a technical report and I use that command to substitute numbers to
letters in formulas.
___
If your question is of interest
On Sun, May 13, 2012 at 3:54 PM, elgo...@libero.it elgo...@libero.it wrote:
\sbc{} is a command defined by me.
\define[1]\sbc{\ctxlua{context(\%.2f, #1)}}%
I'm writing a technical report and I use that command to substitute numbers to
letters in formulas.
ok, I'm using
\def\sbc#1{#1}
On Sun, 13 May 2012, elgo...@libero.it wrote:
\sbc{} is a command defined by me.
\define[1]\sbc{\ctxlua{context(\%.2f, #1)}}%
I'm writing a technical report and I use that command to substitute numbers to
letters in formulas.
Please create a complete working minimal example.
Aditya
Sorry for having given you a non working example!
Here you can find a working one. The comments at the end of each line are in
italian.
Changing the height of the frame you can move the \startalign content in the
page.
As you will see, the whole content flows from one page to the following
Thank you very much Luigi.
Any idea on how to split the \startalign content?
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl
On Fri, May 11, 2012 at 11:16 AM, elgo...@libero.it elgo...@libero.it wrote:
Thank you very much Luigi.
Any idea on how to split the \startalign content?
No, I've an error
! Undefined control sequence.
system tex error on line 16 in file test.tex: Undefined
control sequence
Hello,
I'm a new user of context (and of this mailing list).
I'm facing some problems in splitting the \startalign ... \stopalign content
on more pages.
This is the formulas:
\setupformulas[align=right]
\startformula
\startalign[n=3, align={left, right, left}]
\NC \text{dove} \quad \NC Y \NC
On Wed, May 9, 2012 at 1:44 PM, elgo...@libero.it elgo...@libero.it wrote:
And by the way, is there a clever way to write a block of text under some
conditions as shown in the example above other than tex.print(.) which
forces to escape every command?
Thank you very much.
Bye
\starttext
On Thu, 8 Sep 2011, Aditya Mahajan wrote:
On Thu, 8 Sep 2011, Hongwen Qiu wrote:
Hi, the following minimal example works fine in MKII, but the third
columns are not aligned in MKIV
\starttext
\startformula\startalign[n=3]
\NC X \NC = 1 + 2 \NC = 3 \NR
\NC Y \NC = 1 + 2 + 3 \NC = 6 \NR
\NC Z
Hi, the following minimal example works fine in MKII, but the third
columns are not aligned in MKIV
\starttext
\startformula\startalign[n=3]
\NC X \NC = 1 + 2 \NC = 3 \NR
\NC Y \NC = 1 + 2 + 3 \NC = 6 \NR
\NC Z \NC = 1 + 2 + 3 + 4 \NC = 10 \NR
\stopalign\stopformula
\stoptext
Is this a bug
On Thu, 8 Sep 2011, Hongwen Qiu wrote:
Hi, the following minimal example works fine in MKII, but the third
columns are not aligned in MKIV
\starttext
\startformula\startalign[n=3]
\NC X \NC = 1 + 2 \NC = 3 \NR
\NC Y \NC = 1 + 2 + 3 \NC = 6 \NR
\NC Z \NC = 1 + 2 + 3 + 4 \NC = 10 \NR
\stopalign
Hi everybody,
I'm new to ConTeXt and need a little expert help. When I'm running the
following 'test.tex' file
\starttext
\placeformula
\startformulas
\startformula
\startalign
\NC A \NC = B \NR[+]
\NC C \NC = D \NR[+]
\stopalign
\stopformula
\startformula E \stopformula
On 07/27/2010 02:21 PM, Julian Becker wrote:
I get the following errors:
systems : begin file test.tex at line 1
! Missing $$ inserted.
to be read again
\Ustopdisplaymath
This is a bug in luatex that will be fixed in the next beta,
it is not your fault. Until then, this
Thanks a lot, this did the trick.
best regards, Julian
2010/7/27 Taco Hoekwater t...@elvenkind.com
On 07/27/2010 02:21 PM, Julian Becker wrote:
I get the following errors:
systems : begin file test.tex at line 1
! Missing $$ inserted.
to be read again
\Ustopdisplaymath
Obviously, when using a non monospaced font for this, the alignment is lost.
When in math mode, I can use \startalign to force alignment, like:
\startalign
foo \NC= bar
\NC| baz
\stopalgin
However, I haven't manage to switch to math mode inside pretty printed text.
Also, even if I would, I
Hi all,
foo = bar
| baz
it seems I found some sort of a solution. Using the \setwidthof I found at
[1], I wrote the following:
\def\setwidthof#1\to#2%
{\bgroup
\setbox\scratchbox\hbox{#1}%
\expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}}
foo = bar
\setwidthof{foo
spaces. For example:
foo = bar
| baz
Obviously, when using a non monospaced font for this, the alignment is lost.
When in math mode, I can use \startalign to force alignment, like:
\startalign
foo \NC= bar
\NC| baz
\stopalgin
However, I haven't manage to switch to math mode inside
Dear Hans,
Please see the example below, which is not correctly compiled in the
lastest beta.
\starttext
\startformula \startalign
\NC v \NC = u + at \NR
\NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext
--
Longmin Wang longminw...@gmail.com
Math. Dept., Nankai Univ
On Mon, 13 Apr 2009, Longmin Wang wrote:
Dear Hans,
Please see the example below, which is not correctly compiled in the
lastest beta.
\starttext
\startformula \startalign
\NC v \NC = u + at \NR
\NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext
Confirmed, With MKIV I get
Aditya Mahajan wrote:
On Mon, 13 Apr 2009, Longmin Wang wrote:
Dear Hans,
Please see the example below, which is not correctly compiled in the
lastest beta.
\starttext
\startformula \startalign
\NC v \NC = u + at \NR
\NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext
On Mon, 13 Apr 2009, Taco Hoekwater wrote:
\halign{$#$$#$\cr u\cr}\bye
and perl is reputed to look like line noise ;)
Aditya
___
If your question is of interest to others as well, please add an entry to the
Aditya Mahajan wrote:
On Mon, 13 Apr 2009, Taco Hoekwater wrote:
\halign{$#$$#$\cr u\cr}\bye
and perl is reputed to look like line noise ;)
Now that I fixed it, I suspect there is an even shorter
minimal file possible, but I 've fixed it already so
I can't try that any more. This might
On Mon, Apr 13, 2009 at 04:46:52PM +0200, Taco Hoekwater wrote:
Anyway, the fix in luatex svn already. I expect to release
0.39 on wednesday.
Best wishes,
Taco
Many thanks. It works.
--
Longmin Wang longminw...@gmail.com
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
Hi,
I've noticed a weird behavior using \boldsymbol within \startalign
\stopalign. Please see the attached minimal example.
MKII version 2009.03.13 17:35
Bostjan
minimal.tex
Description: TeX document
___
If your
On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:
Hi,
I've noticed a weird behavior using \boldsymbol within \startalign
\stopalign. Please see the attached minimal example.
MKII version 2009.03.13 17:35
A bug somewhere, possibly in the definition of \mathortext. For the time
being, use
On Sun, 29 Mar 2009, Aditya Mahajan wrote:
On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:
Hi,
I've noticed a weird behavior using \boldsymbol within \startalign
\stopalign. Please see the attached minimal example.
MKII version 2009.03.13 17:35
A bug somewhere, possibly in the definition
Aditya Mahajan wrote:
On Sun, 29 Mar 2009, Aditya Mahajan wrote:
On Sun, 29 Mar 2009, Boštjan Vesnicer wrote:
Hi,
I've noticed a weird behavior using \boldsymbol within \startalign
\stopalign. Please see the attached minimal example.
MKII version 2009.03.13 17:35
A bug somewhere
Hello,
is there a nice way to [mis]use \startalign or combine it with
something else to typeset equations like the following one (in a
fixed-width font)?
a + b = 9
a - b = 3
___
2a = 12
Thanks for any hints,
Mojca
___
ntg
On Tue, 13 Feb 2007, Mojca Miklavec wrote:
Hello,
is there a nice way to [mis]use \startalign or combine it with
something else to typeset equations like the following one (in a
fixed-width font)?
fixed-width font? Then you can just use \starttable with appropriate
setting for distance
On 2/13/07, Aditya Mahajan wrote:
On Tue, 13 Feb 2007, Mojca Miklavec wrote:
Hello,
is there a nice way to [mis]use \startalign or combine it with
something else to typeset equations like the following one (in a
fixed-width font)?
fixed-width font?
I meant fixed-width font while
]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]
\startformula[lucida]
\tilde{\bfm \omega}
\stopformula
\startformula[lucida]
\startalign[n=2, align={right,left}]
\NC \tilde{\bfm \omega} \NC = a \NR
\stopalign
\stopformula
\stoptext
Renaud
Renaud AUBIN wrote:
Hi all,
Considering the following example, there is a problem with \bfm \omega
in the align environment... I observed the same problem with the matrix
environment... Any idea how to solve the problem ?
Adding this redefinition of \bfm helps
?
\starttext
\usetypescript[lucida] [texnansi]
\usetypescript[lucidabfm] [texnansi]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]
\startformula[lucida]
\tilde{\bfm \omega}
\stopformula
\startformula[lucida]
\startalign[n=2, align={right,left}]
\NC \tilde{\bfm \omega} \NC = a \NR
ok, but then omega is not bold anymore...
Taco Hoekwater a écrit :
Adding this redefinition of \bfm helps
\def\bfm{\noexpand\boldfacemath} % \noexpand added
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
\define\tildedomega{\hbox{$\tilde{\bfm \omega}$}} and use \tildedomega
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Is this a bug or am I missing something simple?
\startmode[bug]
\setupformulas[align=right, leftmargin=3em]
\stopmode
\starttext
\startformula \startalign
\NC a \NC= b \NR
\NC c \NC= d \NR
\stopalign \stopformula
\stoptext
Thanks,
Aditya
--
Aditya Mahajan, EECS Systems, University
On Thu, 13 Apr 2006, Aditya Mahajan wrote:
Is this a bug or am I missing something simple?
\startmode[bug]
\setupformulas[align=right, leftmargin=3em]
\stopmode
\starttext
\startformula \startalign
\NC a \NC= b \NR
\NC c \NC= d \NR
\stopalign \stopformula
\stoptext
Should have
\eqalignmode \or to \dis...
to be read again
x
for the very simple input file
\starttext
\startformula
\startalign
x
\stopalign
\stopformula
\stoptext.
Examples included in core-mat also won't compile.
The last i-Installer distribution (don't remember the release date)
didn't show this behaviour
Sebastian Sturm wrote:
Hello,
using the latest 2006/1/29 version of i-Installer's ConTeXt package,
I get an error message reading
Yes, it is broken. Hopefully there will be a patch soon (likewise for
the \eqalign problem)
Taco
___
ntg-context
76 matches
Mail list logo